package kr.co.doriclassic.powerjava.chapter20;

import java.util.Arrays;

public class ArrayEx02 {
	public static void main(String[] args) {
		int[] arr = {5,4,3,2,1};
		Arrays.sort(arr);
		for (int a : arr) {
			System.out.printf("%2d"+a);
		}

	}
}
